package tech.dongliang.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tech.dongliang.common.model.CommonModel;

/**
 * <p>
 * 
 * </p>
 *
 * @author xdzhang
 * @since 2019-01-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysRoleMenu extends CommonModel{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("roleId")
    private Integer roleId;

    @TableField("menuId")
    private Integer menuId;

}
